grammar Arth;

expr: '(' expr ')' # group
    | expr op=('*'|'/') expr # factor
    | expr op=('+'|'-') expr # addsub
    | NUMBER # primary
    ;

NUMBER: '-'?[1-9]+[0-9]*; 
WS: [ \t\r\n]+ -> skip;